package com.ruoyi.data.domain.bo;

import cn.hutool.json.JSONObject;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import com.ruoyi.common.core.validate.QueryGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.web.bind.annotation.PathVariable;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * 数据列表业务对象 data_list
 *
 * @author ruoyi
 * @date 2023-10-26
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class DataListBatchBo extends BaseEntity {

    //@NotEmpty(message = "主键不能为空", groups = { EditGroup.class })
    private String[] dataIds;

    //转移之前id
    @NotNull(message = "来源分类id不能为空", groups = { EditGroup.class })
    private Long beforeClassificationId;

    @NotNull(message = "分类id不能为空", groups = { EditGroup.class })
    private Long classificationId;

    @NotNull(message = "状态不能为空", groups = { EditGroup.class })
    private String status;

    /**
     * 数据来源状态
     */
    private String sourceStatus;

}
